package com.google.samples.apps.room.data

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * Created by Administrator on 2021/7/9 0009.
 * Describe:
 */

@Entity(tableName = "users")
data class User(
    @PrimaryKey(autoGenerate = true) @ColumnInfo(name = "id") var userId: Long,
    @ColumnInfo(name = "user_name") var userName: String,
    @ColumnInfo(name = "user_age") var age: Int

) {
}